<!--
 * @Description:缓动网易轮播图
 * @Author: Sun
 * @Date: 2019-07-01 20:05:50
 * @LastEditors: Sun
 * @LastEditTime: 2019-07-28 05:11:36
 -->
<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>缓动网易轮播图</title>
		<style>
			* {
				margin: 0;
				padding: 0
			}

			ul {
				list-style: none;
			}

			div {
				width: 1004px;
				height: 350px;
				margin: 50px auto;
				/* border: 1px solid red; */
				overflow: hidden;
			}

			div li {
				width: 200px;
				height: 350px;
				float: left;
				/* border: 1px solid red; */
				margin-left: -1px;
				background-size:cover;
				overflow: hidden;
			}
			#dv ul{
				width: 1004px;
			}
		</style>
	</head>

	<body>
		<div id="dv">
			<ul>
				<li></li>
				<li></li>
				<li></li>
				<li></li>
				<li></li>
			</ul>
		</div>
		<script>
			function $(id) {
				return document.getElementById(id);
			}

					
					
					
			window.onload = function() {
			 cm()
			function cm(){
				console.log("nihao")
			}
		
			var bc=function(){
				console.log("mb")
			}
				bc()
			}

		
		
		</script>

	</body>

</html>
